﻿using blackhouse.WebNemo.Business.Groups;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace blackhouse.NemoBlog.Business.View {
    public interface IPostListView {

        int PageId { get; }
        int PlaceId { get; }
        bool IsPublisher { get; set; }
        bool BlogSubtitleVisible { get; set; }
        string BlogTitle { get; set; }
        string BlogSubtitle { get; set; }
        bool PostsVisible { get; set; }
        bool NoPostsVisible { get; set; }
        int SelectedTagId { get; }
        int LastPostId { get; }
        bool SeeMoreButtonVisible { get; set; }
        bool RequireSnapshoot { get; }

        string SuggestDefaultTitle();
        void SetSettingsLink(IGroup settingsGroup, int recordId);
        void SetAddNewLink(IGroup postsGroup, int pageId, int moduleId);
        void SetAddNewLinkInNoPostContent(IGroup postsGroup, int pageId, int moduleId);
        void PopulatePosts(NemoBlogPost[] postsToLoad);
        void SetSeo(string title, string url);

    }
}
